package com.assistant.tasks.service;

import com.assistant.common.PageResult;
import com.assistant.common.exception.file.InvalidExtensionException;
import com.assistant.tasks.pojo.TaskDTO;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @Classname TasksService
 * @Description TODO
 * @Date 2025/3/4 17:58
 * @Created by xxx
 */
public interface TasksService {

    PageResult getTasks(TaskDTO taskDTO);

    void createTask(TaskDTO taskDTO) throws InvalidExtensionException;

    String getResult(Integer id, HttpServletResponse response) throws IOException;
}
